package com.sunlands.deskmate.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import java.util.List;
import java.util.Map;

/**
 * @author liuyan
 */
@Data
@ToString
public class PushMessageEntity {
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

//    @ApiModelProperty("头像")
//    private String avatarUrl;

    @ApiModelProperty("业务id，可能是群id，也可能是道友id")
    private String businessId;

    @ApiModelProperty(value = "接受消息的用户id集合")
    private List<Long> userIds;

    @ApiModelProperty("不需要发送的用户id集合")
    private List<Long> excludeUserIds;

    @ApiModelProperty("消息类型")
    private String type;

    @ApiModelProperty("是否群发")
    private Boolean isGroupSend;

    @ApiModelProperty("扩展属性,格式为：extras:{key1:value1,key2:value2}")
    private Map<String, String> extras;
}
